'''
Created on 2014. 3. 11.

@author: '
'''
from flask import Flask
from hello import hello_world
from Nlog import Nlog
app = Flask(__name__)

@app.route('/')
def test():
    print ( hello_world() )
    nlog = Nlog()
    nlog.puts()
    print ( hello_world() )
    
    print("tests")
    return ""

@app.route('/s')
def test2():
    print ( hello_world() )
    nlog = Nlog()
    nlog.puts("test")
    return ""

app.run(port=5001, debug=True)